Einhugur Word Plugin for Xojo

Paragraph.AppendHyperlinkField Method

Appends hyperlink field to the paragraph.

AppendHyperlinkField(
   text as String,
   url as String) as EinhugurWord.Run

Parameters

text
The text to display on the link.
url
The url for the link.

Returns

EinhugurWord.Run
Appending hyperlink field generates complex run which consists of 5 runs. The run that is returned is the run which contains the text element of the field.

Remarks

Usually a hyperlink is done with AppendHyperlink instead of AppendHyperlinkField. Those are two different things in Word.

See Also

Paragraph Class